<?php
// +----------------------------------------------------------------------
// | 文件说明：路由
// +----------------------------------------------------------------------
// | Copyright (c) 2017 http://www.wuwuseo.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: thinkcmf
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Date: 2017-8-11
// +----------------------------------------------------------------------
use think\Route;

Route::get([
    'user/init' => 'user/public/init',    //系统初始化
    'user/info' => 'user/info/info',    //获取用户信息
    'user/logout' => 'user/info/logout',    //获取用户信息
]);

Route::post([
    'user/login' => 'user/public/login',    //登陆
    'user/setting' => 'user/info/setting',    //登陆
    'user/code' => 'user/public/verification_code',    //获取验证码
    'user/password_reset' => 'user/public/password_reset',    //获忘记密码
    'user/password' => 'user/info/password',    //获取验证码
]);

//
//Route::delete([
//    'user/favorites/:id' => 'user/favorites/unsetFavorites', //删除收藏
//    'user/comments/:id'  => 'user/comments/delComments', //删除评论
//]);



